package com.example.a10928.weifriend.adapter;

import android.content.Context;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.example.a10928.weifriend.R;
import com.example.a10928.weifriend.http.api.base.ActiveDetailBean;
import com.example.a10928.weifriend.http.api.base.ActivityShopBean;
import com.youth.banner.loader.ImageLoader;

public class ActiveDetailILoader extends ImageLoader {
    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        ActiveDetailBean.ImagesBean img= (ActiveDetailBean.ImagesBean)path;
        Glide.with(context).load(img.getImg_url()).into(imageView);
    }
}
